#
#
#

module Ph
  
  class Tabset < Ph::Container
    
    attr_reader :tabs
    
    def initialize
      super
      
      @tabs = Ph::Container.new
      @tabs.class_name = 'phtabset_tabs'
    end
    
    def generate_body
      "#{@tabs}" + super
    end
    
  end
end

def ph_tabset(name)
  {tabset=>Ph::Tabset.new}
end